/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


$(function() {
    $( ".sortable" ).sortable(
    { 
	revert: true,
//	handle: 'div',
	update: function(event, ui) 
	{
	    console.log($('.sortable').sortable('toArray'));
	    console.log($('.sortable').sortable( "serialize"))
	}
    }
    );
    $( ".sortable" ).disableSelection();

});